press green flag it will sort the randomly assigned letters yayy why did I do this :((
very simple algorithm takes number from table 1, checks if its less than the number in table 2, from the top, if it is then insert it can be used on any 2 tables read comments in da block code to install it (IDK what game needs to sort a database but if u want to here u go!) HOW IT ACTUALLY WORKS: There are 6 variables used: scaletablecheck = length of scale table table1check = length + 1 of table1 checkincrements = amount of spaces that are checked insertcheck = number that's being currently checked hit = boolean (true = 1, false = 0), true when a number is found that's greater than the one being inserted, false when there's not it takes the 1st number from table 1, then the 2nd, it goes through an if statement the length of sorted table, or until it hits: if < than insertcheck, insert at that spot, then hit it goes through this until the end of the list. if it reaches there, then it is added to the end it repeats this process until the length of table 2 is = table 1