Changes to haddock

Changes to haddock:
commit d86f68860c40d45d2cec94edd15d4bf4fc4292d8
Author: Niklas Haas <git@nand.wakku.to>
Date:   Thu Feb 13 22:21:36 2014 +0100

    Get rid of re-implementation of sortBy

    I have no idea what this was doing lying around here, and due to the
    usage of tuples it's actually slower, too.

    Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>