I gang

[url removed, login to view] - Sort Structure Array By Up To 4 Fields

Hello.

Thank you for taking the time to review my Visual Basic Express 2010 project.

This is a work for hire. I need commented code to sort an array of a Structure. I must be able to sort the items on ANY OR ALL of four fields. I have attached a sample application for you to do the work.

Please do not suggest that I use a Class instead of a Structure. I am locked into a Structure.

This is the example structure:

Public Structure TestStructure

Public Name As String

Public Weight As Single

Public MainCategory As Integer

Public SubCategory As Integer

End Structure

Public ts() as TestStructure

Public Sorted_ts as TestStructure

Your code must be able to sort ts() down to sorted_ts() using any or all of the fields in TestStructure. For example, I might need to sort by a specific SubCategory, and then by weight. All records in ts() that match the SubCategory (i.e. 3) are then sorted by weight (i.e. from heaviest to lightest) and are added to sorted_ts(). Sorted_ts() will be cleared before each use. It is Sorted_ts() that will be sent to my menu system.

If you have any questions, please contact me.

Thank you very much for your time,

HMdesigner2

Færdigheder: VB.NET

Se mere: visual basic net array, vb work, vb this, net hire, net array example, net array, using array net, up string, sort array, no structure, example net, e vb, structure, net code review, string array, visual basic project 2010, code review net, array string, visual basic net express, sample project, structure menu, sample project net, menu structure, code sample project net, express net

Om arbejdsgiveren:
( 15 bedømmelser ) Arlington Heights, United States

Projekt-ID: #6028319