Support for multiple sorting

Added support for multiple sorting in configuration file.