|
| 23 Feb 2015 11:24 PM |
Let's say:
Table = {Apple.Value,Banana.Value,Cherry.Value} table.sort(Table)
-- let's say newTable = {Banana.Value,Apple.Value,Cherry.Value} because banana was the smallest value and cherry was the largest
Table2 = {"Apple","Banana","Cherry"}
-- now how would I sort this to match the other table's sortment? So all the corresponding values and fruit names match? |
|
|
| Report Abuse |
|
| |
GOLDC3PO
|
  |
| Joined: 31 May 2011 |
| Total Posts: 509 |
|
|
| 24 Feb 2015 03:43 AM |
| newTable = {Table.Banana.Value,Table.Apple.Value,Table.Cherry.Value} |
|
|
| Report Abuse |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 24 Feb 2015 04:24 AM |
| use the 2nd argument to table.sort |
|
|
| Report Abuse |
|