Add secondary sort on mapped files on the shared amounts