Core patch: back to asort