Unit ordering by letter, upload canvas function