I want to change the layout of the list of algorithms provided by algorithm2e from this
1 Sorting...........................15
to this
Algorithm 1 -- Sorting..............15
I was already able to add the "Algorithm" word by following the instructions in this answer, but could not get the en dash to appear. I tried to renew the \numberline to add the en dash, but the results weren't satisfactory.
I know the memoir class has the \cftfigureaftersnum for inserting text after the figure numbers in the LOF and the \cfttableaftersnum as the equivalent for tables, but I could not find an equivalent for algorithms.
Any thoughts on this?
EDIT: I am giving support to the LaTeX class from my university, which is based on memoir. It uses algorithm2e as the default package for creating algorithms and does not use tocloft.



memoir, but it's not entirely clear.) Also, please state (a) which package(s) you use to create algorithm-type environments and (b) how the List of Algorithms is produced. Having this information would let potential answer-writers eliminate a lot of inefficient and pointless guesswork. – Mico Oct 24 '16 at 05:55