sorting support
bug warning for top