Fixed sort() to asort() to get back original order