Command implementation for (un)ordered lists