The dynamics of a single flexible fiber in shear flow is evaluated numerically, in the absence of inertia and Brownian motion. A wide range of ratios A of bending to hydrodynamic forces and hundreds of initial configurations are considered. We demonstrate that flexible fibers in shear flow exhibit much more complicated evolution patterns than in case of extensional flow, where transitions to higher-order modes of characteristic shapes are observed when A exceeds consecutive threshold values. In shear flow, we identify the existence of different families of attracting periodic and close to periodic motions which, together with a highly ordered steady mode, dominate the typical longtime evolution of fiber shapes, depending on A and the initial orientation. The most common transient motions, typical for the relaxation phase, are also determined, including close to periodic oscillations. For dilute suspensions of flexible fibers, within a narrow range of A, the existence of a highly ordered phase is predicted, with the fibers stretched and oriented parallel to the vorticity direction.