Implemented sorting, limiting and general configuration