Support for -T in /listanimals, corrected sorting